﻿#ifndef CADRESEARCH_H
#define CADRESEARCH_H

#include <QWidget>
#include <QTreeWidgetItem>
#include <cadremanage/choosecadre.h>

namespace Ui {
class CadreSearch;
}

class CadreSearch : public QWidget
{
    Q_OBJECT

public:
    explicit CadreSearch(QWidget *parent = 0);
    ~CadreSearch();
    void initTreeWidget();

signals:
    void sendRecvNum(QString num);

private slots:
    void on_buttonSearch_clicked();

    void recvSend(QString num);

    void on_treeWidget_itemDoubleClicked(QTreeWidgetItem *item, int column);

    void on_treeWidget_2_itemDoubleClicked(QTreeWidgetItem *item, int column);


    void on_buttonFind_1_clicked();

    void on_buttonFind_2_clicked();

private:
    Ui::CadreSearch *ui;
    ChooseCadre chooseCadre;
};

#endif // CADRESEARCH_H
